package com.pozu.new_retail.dao.model;

import java.io.Serializable;

/**
 * 购物车
 * @author chao
 * @date 2018年4月19日
 */
public class ShoppingCart implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long shoppingCartId;
    
    /** 订单号 */
    private String orderId;
    
    /** 用户id */
    private Long userId;
    
    /** 商品扩展id */
    private Integer goodsExtId;
    
    /** 商品数量 */
    private Integer number;
    
    /** 订单金额 */
    private Double money;
    
    /** 创建时间 */
    private Long createdTime;
    
    /** 更新时间 */
    private Long updatedTime;
    
    /** 默认0购物车里1已进入订单2已删除 */
    private Integer state;
    
    /** 折扣(100是原价80是8折70是7折0是免单) **/
    private Integer discount;

    /** 0不可组团1可组团2砍价 **/
    private Integer type;
    
    /** 预售尾款订单号 */
    private String secOrderId;
    
    /** 小程序id **/
    private Integer appId;

	public Long getShoppingCartId() {
		return shoppingCartId;
	}

	public void setShoppingCartId(Long shoppingCartId) {
		this.shoppingCartId = shoppingCartId;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getGoodsExtId() {
		return goodsExtId;
	}

	public void setGoodsExtId(Integer goodsExtId) {
		this.goodsExtId = goodsExtId;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Long getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}

	public Long getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Long updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getDiscount() {
		return discount;
	}

	public void setDiscount(Integer discount) {
		this.discount = discount;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getSecOrderId() {
		return secOrderId;
	}

	public void setSecOrderId(String secOrderId) {
		this.secOrderId = secOrderId;
	}

	public Integer getAppId() {
		return appId;
	}

	public void setAppId(Integer appId) {
		this.appId = appId;
	}

}